package org.ccay.core.orm;

import org.ccay.core.exception.ApplicationException;

/**
 * 重复键异常	
 * 
 * @since 2012-2-14
 */
public class DuplicateKeyException extends ApplicationException {

	private static final long serialVersionUID = 5595616652005142754L;
	/**
	 * 数据重复异常码
	 */
	private static final String DUP_ERROR_CODE = "ccay.core.00020006";

	/**
	 * @param originalException
	 */
	public DuplicateKeyException(Throwable originalException) {
		super(DUP_ERROR_CODE,originalException);
	}

}
